.wechat {
  height: 100%;
  width: 100%;
  position: relative;
  .chatcontent {
    width: 1000px;
    height: 812px;
    overflow: hidden;
    position: absolute;
    display: flex;
    border: 1px solid rgb(208, 208, 208);
    border-radius: 4px;
    box-shadow: rgb(208, 208, 208) 1px 1px 15px;
    .slider {
      width: 100px;
      height: 100%;
      background-color: #28292c;
      overflow: hidden;
      > div {
        padding: 0 12px;
      }
      .imgs {
        margin: 20px 0;
        img {
          width: 100%;
          height: 100%;
          border-radius: 5px;
        }
      }
      .chat,
      .connectperson,
      .extension {
        text-align: center;
        margin: 20px 0;
        img {
          width: 30px;
          height: 30px;
        }
      }
      .connectperson {
        img {
          width: 25px;
          height: 25px;
        }
      }
      .extension {
        img {
          width: 25px;
          height: 21px;
        }
      }
    }
    .topword {
      font-size: 15px;
      margin-bottom: 5px;
      text-overflow: ellipsis;
      max-width: 150px;
      white-space: nowrap;
      overflow: hidden;
    }
    .peoplelist {
      width: 450px;
      height: 100%;
      background-color: #e7e8e9;

      .search {
        padding: 0 12px;
        padding-top: 28px;
        padding-bottom: 12px;
        .ant-input-affix-wrapper {
          background-color: #e5e3e2;
        }
        .ant-input-affix-wrapper > input.ant-input {
          background-color: transparent;
        }
        .addPerson {
          width: 32px;
          height: 32px;
          background-color: #e5e3e2;
          border: 1px solid #d9d9d9;
          line-height: 28px;
          text-align: center;
          font-size: 26px;
        }
      }
      .outerpeolist {
        overflow: hidden;
        width: 288px;
        height: 740px;
        position: relative;
        .scrollbar {
          position: absolute;
          right: 0;
          top: 0px;
          width: 10px;
          height: 400px;
          border-radius: 5px;
          background-color: rgba(0, 0, 0, 0.14);
          display: none;
        }
      }
      .outerpeolist:hover .scrollbar {
        display: block;
      }
      .peolist {
        overflow-y: auto;
        width: 324px;
        height: 740px;
        //   background-color: red;
        .groupitem {
          //   background-color: blue;
          padding: 12px;
          display: flex;
          //   height: 32px;
        }
        .groupitem:hover {
          background-color: rgb(221, 221, 221);
        }
      }
      .peolist > div > div:nth-child(2) {
        display: none;
      }
      .peolist > div > div:nth-child(3) {
        right: 36px !important;
      }
    }
    .chatroom {
      width: 100%;
      height: 100%;
      background-color: #f5f5f5;
      .toptitle {
        border-bottom: 1px solid #e7e7e7;
        height: 68px;
        display: flex;
        justify-content: space-between;
        cursor: move;
        user-select: none;
        .more {
          background-image: url("/images/moregray.png");
          width: 18px;
          height: 4px;
          margin-right: 20px;
          margin-top: 38px;
        }
      }
      .mainbody {
        position: relative;
        height: 575px;
        overflow: hidden;
        width: 645px;

        .sayList {
          width: 645px;
          // padding: 0 20px;
          height: 575px;
          // display: flex;
          // flex-direction: column;
          // overflow-y: scroll;
          .time {
            text-align: center;
            margin: 10px auto;
            display: inline-block;
            line-height: 22px;
            color: white;
            padding: 0 8px;
            background-color: #dadada;
            border-radius: 4px;
          }
          .me {
            display: flex;
            flex-direction: row-reverse;
            padding-right: 15px;
            .myword {
              position: relative;
              border-radius: 3px;
              background-color: #9eea6a;
              margin-right: 12px;
              padding: 10px;
              max-width: 200px;
              word-wrap: break-word;
              word-break: break-all;
              overflow: hidden;
              .mysay {
                img,
                audio,
                video {
                  width: 100%;
                }
              }
            }
            .myword:after {
              content: "";
              position: absolute;
              clear: both;
              height: 0px;
              width: 0px;
              border-left: 6px solid #9eea6a;
              right: -12px;
              top: 14px;
              border-right: 6px solid transparent;
              border-top: 6px solid transparent;
              border-bottom: 6px solid transparent;
            }
          }
          .me,
          .other {
            margin: 20px 0;
          }
          .other {
            display: flex;
            padding-left: 15px;
            .othername {
              color: #b2b2b2;
              font-size: 13px;
              margin-top: -6px;
              margin-bottom: 3px;
            }
            .mysay {
              position: relative;
              border-radius: 3px;
              background-color: white;
              padding: 10px;
              max-width: 200px;
              border: 1px solid #ededed;
              word-wrap: break-word;
              word-break: break-all;
              overflow: hidden;
              img,
              audio,
              video {
                width: 100%;
              }
            }
            .mysay:after {
              content: "";
              position: absolute;
              clear: both;
              height: 0px;
              width: 0px;
              border-right: 6px solid white;
              left: -12px;
              top: 14px;
              border-left: 6px solid transparent;
              border-top: 6px solid transparent;
              border-bottom: 6px solid transparent;
            }
          }
        }
        .chatscrollbar {
          position: absolute;
          right: 0;
          top: 0px;
          width: 10px;
          height: 200px;
          border-radius: 5px;
          background-color: rgba(0, 0, 0, 0.14);
          display: none;
        }
      }
      .mainbody:hover .chatscrollbar {
        display: block;
      }
    }
    .sendmessage {
      border-top: 1px solid #ececec;
      height: 167px;
      background-color: white;
      .bf-content {
        height: 130px;
      }
    }
    .sendbtn {
      position: absolute;
      right: 30px;
      bottom: 10px;
      border: 1px solid #e5e5e5;
      background: #f5f5f5;
      padding: 3px 10px;
      z-index: 10;
    }
    .sendbtn:hover {
      background-color: #129611;
      color: white;
    }
    .dragarea {
    }
  }
  .sayList > div > div:nth-child(2) {
    display: none !important;
  }
  .cutwords p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
